<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Mr.UBKey
 * Date: 30/10/2011
 * Time: 15:25
 * To change this template use File | Settings | File Templates.
 */
class Slide_ComponentController extends XPHP_Controller
{
    public function slideAction()
    {
        //Lấy ra tất cả các ảnh trong slide
        $model = new Areas_Slide_Models_Slide();
        $slides = $model->getSlides(1);
        $this->view->slides = $slides;
        return $this->view();
    }
}
